package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.ServiceRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceRecordMapper {
    int deleteByPrimaryKey(String tid);

    int insert(ServiceRecord record);

    int insertSelective(ServiceRecord record);

    ServiceRecord selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(ServiceRecord record);

    int updateByPrimaryKey(ServiceRecord record);

    List<String> selectServiceRecordList(String key, ServiceRecord serviceRecord);
    List<String> getServiceRecordList(@Param("key") String key, @Param("serviceRecord") ServiceRecord serviceRecord);

    List<ServiceRecord> selectListServiceRecordByListTid(@Param("stringList") List<String> stringList, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
}